package com.miracle.dao;

import com.miracle.entity.Perms;
import com.miracle.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserDAO {
    User getUser(String username);

    User findRolesByUserName(String primaryPrincipal);

    List<Perms> findPermsByRoleId(String id);
}
